import { reactive } from "vue";
import type { FormRules } from "element-plus";

/** 自定义表单规则校验 */
export const formRules = reactive(<FormRules>{
  keep_title: [
    { required: true, message: "保留标题 1留 2不留", trigger: "blur" }
  ],
  keep_content: [
    { required: true, message: "保留内容 1留 2不留", trigger: "blur" }
  ],
  start_id: [{ required: true, message: "开始id", trigger: "blur" }],
  number: [{ required: true, message: "生成数量", trigger: "blur" }]
});
